package com.oa.ylms.apps.business.archives;

import java.util.List;

import com.oa.ylms.apps.entity.archives.RecordCategoryValue;

public interface IRecordCategoryService {
	
	public int addRecordCategory(String categoryName) throws Exception;
	
	public boolean modifyRecordCategory(int categoryId, String categoryName) throws Exception;
	
	public boolean deleteRecordCategory(int categoryId) throws Exception;
	
	public boolean toDisable(int categoryId) throws Exception;
	
	public boolean toEnable(int categoryId) throws Exception;
	
	public RecordCategoryValue queryByCategoryId(int categoryId)throws Exception;
	
	public List<RecordCategoryValue> queryRecordCategory (Integer states) throws Exception;
}
